GetPhysical
GetPhysical Translate logical addresses to physical ones Debugger Support Under Virtual Memory
corresponding physical addresses.
addresses is a translation table, that is, an array of ordered pairs
(address and count).
noErr (0) No error
paramErr (-50) Error in parameter list
notLockedErr (-623) Specified range of memory is not locked
interruptsMaskedErr (-624) Called with interrupts masked
Notes: GetPhysical translates up to the size of the table or until the translation is completed, whichever comes first. If GetPhysical is called with a table
size of 0, the number of table entries needed to translate the entire address
range is returned. On exit from this function, the virtual information is
updated to indicate the next virtual address and the number of bytes left to
translate. The logical address range must be locked to ensure validity of the
translation data.